package IC.Parser;

public class LexicalError extends Exception
{
	private int line, col;
    public LexicalError(String message) {
    	super(message);

    }
    
    public LexicalError(int line, String message) {
    	this(message);
    	this.line = line + 1;
    }
    
    public LexicalError(int line, int col, String message) {
    	this(line, message);
    	this.col = col;
    }

	public int getLine() {
		return line;
	}

	public int getCol() {
		return col;
	}
	    
}

